#ifndef FILESYSTEMVIEW_H
#define FILESYSTEMVIEW_H

#include<QFileSystemModel>
#include<QPointer>
#include<QTreeView>

class Song;

class FileSystemView: public QTreeView{
Q_OBJECT
public:
	FileSystemView(QWidget *parent);
	~FileSystemView();
private slots:
	void slotDoubleClicked(const QModelIndex &index);
	void slotSettingsChanged();
signals:
	void addSong(QPointer<Song>);
private:
	QFileSystemModel *m_model;
};

#endif
